<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


    function idFromUrl($href,$delimiter) 
    {
        $href = urldecode($href);          
        $ID = explode($delimiter,$href);
        $ID = $ID[count($ID)-1];
        return $ID;
    }

?>
